package com.template.uid.controller;

import com.template.uid.service.UidService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UidController {

    @Autowired
    private UidService uidService;

    @GetMapping("/testuid")
    public String test() {
        return String.valueOf( uidService.getUid() );
    }
}
